﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Settlement.Domain
{
    /// <summary>
    /// 结算-应收/付费用管理
    /// </summary>
    public class Expenses:AuditFields
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int ExpensesId { get; set; }
        /// <summary>
        /// 全球唯一标识符
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 业务单号
        /// </summary>
        public string? TicketNumber { get; set; }
        /// <summary>
        /// 货主单位(可空)
        /// </summary>
        public string? ShipperIsUnit { get; set; }
        /// <summary>
        /// 外协单位(可空)
        /// </summary>
        public string? OutsourcedUnits { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string? PaymentMethod { get; set; }
        /// <summary>
        /// 其它结算方式
        /// </summary>
        public string? OtherPaymentMethod { get; set; }
        /// <summary>
        /// 吨位(立方米)
        /// </summary>
        public decimal? Tonnage { get; set; }
        /// <summary>
        /// 单价(元/立方米)
        /// </summary>
        public decimal? CostManagementPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal? CostManagementAmount { get; set; }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime? BusinessDate { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string? CostManagementAttn { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? CostManagementRemark { get; set; }
        /// <summary>
        /// 核对状态
        /// </summary>
        public bool? CheckStatus { get; set; }
        /// <summary>
        /// 核对人
        /// </summary>
        public string? CheckPeople { get; set; }
        /// <summary>
        /// 核对时间
        /// </summary>
        public DateTime? CheckDate { get; set; }
        /// <summary>
        /// 费用分类(收费1、付费2)
        /// </summary>
        public int? ExpensesClassify {  get; set; }
    }
}
